Package-level declarations
Types
A claim is an attribute of an entity. The claim name, or key, as it would be used in a regular JWT body. The claim value, as it would be used in a regular JWT body. The value MAY be of any type allowed in JSON, including numbers, strings, booleans, arrays, and objects
Visitor for selectively disclosed claims.
Generates decoy DisclosureDigest
Specifies whether something is claim always or Disclosable.Selectively disclosable.
An array of disclosable claims
DisclosableArray is actually a List of elements
A disclosable claim (value)
A disclosable object which contains disclosable claims.
DisclosableObject is actually a Map of elements
Values that can be disclosed:
A combination of a salt, a cleartext claim name, and a cleartext claim value, all of which are used to calculate a digest for the respective claim.
The digest of a disclosure
Represents a map which contains all the claims - selectively disclosable or not - found in a SD-JWT. Each entry contains the path and the disclosures required to revel the claim
Hashing algorithms, used to produce the DisclosureDigest of a Disclosure
Representation of a JWT both as string and its payload claims
An interface that abstracts the verification of JWT signature
Errors related to Key Binding
Representation of a function used to sign the Keybinding JWT of a Presentation SD-JWT.
This represents the two kinds of Key Binding verification
Salt to be included in a Disclosure claim.
An interface for generating Salt values.
A parameterized representation of a presented SD-JWT with a keyBindingJwt
The digest of a presentation. It contains the base64-url encoded digest of a presentation with all padding characters removed.
Factory for creating an UnsignedSdJwt
Representation of a function capable of producing an issuance SD-JWT
Operations related to recreating claims
An exception carrying a verification error
A single point for verifying SD-JWTs in both SD-JWT and SD-JWT+KB formats, using either compact or JWS JSON serialization.
Signs an SD-JWT
Errors that may occur during SD-JWT verification
Functions
Creates a SdJwtVerificationException for the given error
A convenient method for building a DisclosableArray given a builderAction
Factory method for creating a DisclosableObject using the DisclosableObjectSpecBuilder
Adds the confirmation claim (cnf) as a plain (always disclosable) which contains the jwk
An adapter that transforms the payload of a Nimbus JWT to a KotlinX Serialization compatible representation
Factory method for creating a KeyBindingVerifier which applies the rules described in keyBindingJWTProcess.
Factory method for creating a SdJwtIssuer that uses Nimbus
Recreates the claims, used to produce the SD-JWT That are:
Recreates the claims, used to produce the SD-JWT and at the same time calculates DisclosuresPerClaim
Factory method for creating a DisclosableObject using the DisclosableObjectSpecBuilder